package com.posjiajia.user.core.po;

import java.util.Date;

/**
 * @author zhenhua.sun
 * @title com.posjiajia.user.core.po
 * @date 9/25/16
 */
public class DevicePo {

    private Integer id;

    private Date createTime;

    private Date updateTime;

    private Integer version;

    /**
     * 设备id
     */
    private Long deviceId;

    /**
     * 分公司id
     */
    private Long topOrganId;

    /**
     * 门店id
     */
    private Long baseOrganId;

    private String mac;

    /**
     * 设备编号
     */
    private String identifier;

    /**
     * 状态
     * @link com.posjiajia.commom.utils.enums.PublicEnum
     */
    private String status;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Long getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }

    public Long getTopOrganId() {
        return topOrganId;
    }

    public void setTopOrganId(Long topOrganId) {
        this.topOrganId = topOrganId;
    }

    public Long getBaseOrganId() {
        return baseOrganId;
    }

    public void setBaseOrganId(Long baseOrganId) {
        this.baseOrganId = baseOrganId;
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac == null ? null : mac.trim();
    }

    public String getIdentifier() {
        return identifier;
    }

    public void setIdentifier(String identifier) {
        this.identifier = identifier == null ? null : identifier.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
